<mat-toolbar color="primary">
  <button mat-icon-button (click)="openSidebar()" *ngIf="(auth$ |async)?.token">
    <mat-icon>list</mat-icon>
  </button>
  <span>企业协作平台</span>
  <span class="fill-remaining-space"></span>
  <mat-slide-toggle (change)="onToggleChange($event.checked)">黑夜模式</mat-slide-toggle>
  <span><a mat-button *ngIf="(auth$ |async)?.token" (click)="logout()">退出</a></span>
</mat-toolbar>
